package top.zhan.flyweight;

/**
 * @author Zhan
 * @date 2022/10/2 16:40
 */
public class ConcreteWebSite implements CloudWebSite{

    private String category;

    public ConcreteWebSite(String category){
        this.category = category;
    }

    @Override
    public void run(Company company) {
        System.out.println("网站分类：" + category + ", 公司：" + company.getName());
    }
}
